Skip to content

add optional redis for backend storage#489

Merged
mjudeikis merged 1 commit into
kbind-dev:mainfrom
olamilekan000:add-redis-storage-for-backend
Apr 7, 2026
Merged

add optional redis for backend storage#489
mjudeikis merged 1 commit into
kbind-dev:mainfrom
olamilekan000:add-redis-storage-for-backend

Conversation

@olamilekan000

@olamilekan000 olamilekan000 commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary

change adds an optional redis storage for the backend
image

What Type of PR Is This?

/kind feature

Related Issue(s)

Fixes 424
Fixes 488

Release Notes

Added optional Redis for backend storage

@olamilekan000 olamilekan000 requested a review from a team as a code owner March 4, 2026 13:43
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch from 480440f to c665d0d Compare March 4, 2026 13:46

@mjudeikis mjudeikis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick skim, but I would imagine something like this:

session/
  provider.go # defines interface only and small `New` method maybe, or even skip taht and do all in cmd.
  redis/redis.go # implements ^
  memory/memory.go  # implements ^

and types are not even needed. Basically - no flags provided - provider is memory, if redis-smth-smth is provided - its redis. If 2 provider flags (not yet supported) is there - validate in cmd and fail.

to the point where every provider could have its own AddFlags(), Validate(), etc methods and be loaded into main cmd flag-set

Comment thread backend/session/store.go Outdated
Comment thread backend/session/store.go Outdated
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch from c665d0d to 1f86a76 Compare March 4, 2026 14:49
@olamilekan000 olamilekan000 requested a review from mjudeikis March 4, 2026 14:50
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch from 1f86a76 to 771dc90 Compare March 4, 2026 14:52
Comment thread backend/session/redis/redis.go Outdated
Comment thread backend/session/memory/memory.go
Comment thread deploy/charts/backend/values.yaml Outdated

@mjudeikis mjudeikis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know that adding this is calling for e2e test? :D could be follow-up but if we add this ,we will need redis in tests

@olamilekan000

Copy link
Copy Markdown
Contributor Author

You know that adding this is calling for e2e test? :D could be follow-up but if we add this ,we will need redis in tests

I think we can use test-containers

@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch 2 times, most recently from 5343e9f to 2be882f Compare March 9, 2026 16:15
@olamilekan000 olamilekan000 requested a review from mjudeikis March 9, 2026 16:16
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch 2 times, most recently from 581404f to d761aa6 Compare March 10, 2026 02:53
Comment thread backend/options/session/redis/options.go Outdated
Comment thread backend/session/redis/redis.go Outdated
Comment thread backend/session/redis/redis.go
Comment thread backend/session/redis/redis.go Outdated
Comment thread backend/session/redis/redis.go Outdated
Comment thread backend/server.go Outdated
Comment thread deploy/charts/backend/values.yaml
Comment thread docs/content/setup/helm.md Outdated
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch 2 times, most recently from e592bdb to 1218325 Compare March 18, 2026 22:15
@olamilekan000 olamilekan000 requested a review from xrstf March 18, 2026 22:15
@mjudeikis

Copy link
Copy Markdown
Contributor

@xrstf for your approval :)

@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch 3 times, most recently from 8f15a1b to f0b9e00 Compare March 30, 2026 21:03
coderabbitai[bot]
coderabbitai Bot previously approved these changes Mar 30, 2026
@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch 2 times, most recently from 7f030a5 to 833e24c Compare March 30, 2026 23:19
@xrstf

xrstf commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

/approve

@cnvergence

Copy link
Copy Markdown
Member

@olamilekan000 let's resolve the conflict and merge it 🎉

@olamilekan000 olamilekan000 force-pushed the add-redis-storage-for-backend branch from 833e24c to b7440ec Compare April 3, 2026 23:46
@mjudeikis mjudeikis merged commit 67b38bc into kbind-dev:main Apr 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make session storage pluggable feature: backend pluggable session storage

4 participants